import Axios from "./request";

/**
 * 上传文件
 *
 * @method FileUpload
 */
export const FileUpload = (data: any) => Axios({
    url: '/file/upload', // 替换成真实的上传文件的接口
    method: 'post',
    headers: { 'Content-Type': 'multipart/form-data' },
    data: data
})